---
title: Zapier
---

[Zapier](https://zapier.com/) is an awesome tool for automation. And thanks to the[ API Brains](/getting-started/api-based-brains) feature, you can use it to empower your brain.
[Quivr](https://quivr.app) can now easily interact with 1000+ apps thanks to Zapier.

## Zapier to send Telegram messages

In this example, we will use Zapier to send a message to a Telegram channel when a new task is created in Quivr.

<Steps>
<Step title="Create a new Zap in Zapier">
    Create a new Zap in Zapier. Select the **Webhooks by Zapier** app as the trigger app.
</Step>
<Step title= "Select the trigger event">
    Select the **Catch Hook** event.
    <img src="/images/zapier-catch-hook.png"/>
</Step>
<Step title= "Copy the webhook URL">
    Copy the webhook URL.
    <img src="/images/zapier-copy-webhook-url.png"/>
</Step>
<Step title="Add Telegram as the action app">
    Add the **Telegram** app as the action app.
    <img src="/images/zapier-add-telegram.png"/>
</Step>
<Step title="Add an action to telegram">
    In the action field, select **Send Channel Message** and the message you want to send. Should be `Message`.
    <img src="/images/zapier-add-telegram-action.png"/>
</Step>
<Step title="Create a brain as API">
    Create a brain as API. You can follow the [Generate Image](/examples/generate-images) example.
    1. Description should be `Your goal is to allow the user to Send a message to telegram. Only send one message per user request. `
    2. Method should be `POST`
    3. URL should be the webhook URL you copied from Zapier
    4. Params should be:
    <ParamField path="message" type="string">
        message to be sent. By Default the value is a 'Hello, World! This is Quivr' else add what the user tells you to.
    </ParamField>
</Step>
<Step title="Test the brain">
    Test the brain. You should see a message in your Telegram channel.
    <img src="/images/zapier-test-brain.png"/>
    <img src="/images/zapier-result-telegram.png"/>
</Step>
</Steps>

Enjoy! 

<Snippet file="commercial.mdx" />
